home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Demos / ByCompany / Otherwise / WatchMe / WatchMe.app / override_PS_procs < prev    next >
Text File  |  1994-05-06  |  694b  |  31 lines

  1. #!/bin/csh -f
  2. #
  3. #  Overrides the currentmouse postscript operator so that WatchMe
  4. #  does better at capturing the dragging of icons around.
  5. #
  6. #  usage:  override_PS_procs
  7. #
  8.  
  9. echo                                 \
  10. currentshared true setshared                     \
  11.     nextdict begin                         \
  12.         nextdict /currentmouse known not {            \
  13.             /currentmouse  {                     \
  14.                nextdict /OWgettingbitsfrom known {         \
  15.                     {                         \
  16.                 OWgettingbitsfrom 0 eq {         \
  17.                     exit                 \
  18.                 } if                     \
  19.                     yield                     \
  20.                 } loop                     \
  21.             yield                    \
  22.             } if                         \
  23.             systemdict /currentmouse get exec         \
  24.             } def                         \
  25.     } if                            \
  26.     end                                \
  27. setshared                            \
  28. | pft
  29.  
  30.  
  31.